package com.ddtech.business.check.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考核用户答案
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("check_user_answer")
@ApiModel(value="UserAnswer对象", description="考核用户答案")
public class CheckUserAnswer extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考核id")
    private String checkId;

    @ApiModelProperty(value = "学员id")
    private String userId;

    @ApiModelProperty(value = "题库问题id")
    private String bankQuestionId;

    @ApiModelProperty(value = "问题id")
    private String questionId;

    @ApiModelProperty(value = "选项id")
    private String optionId;

    @ApiModelProperty(value = "随机给用户的题号")
    private Integer questionNum;

    @ApiModelProperty(value = "是否答过 0否；1是")
    private Integer isAnswer;

    @ApiModelProperty(value = "答案是否正确 0否；1是")
    private Integer isRight;

    @ApiModelProperty(value = "用户答案")
    private String userAnswer;
}
